/**
 * filename: MyException.java
 * author: luruifeng
 * date: 2016年3月2日
 * http: <a href='http://www.anzeinfo.com'>www.anzeinfo.com</a>
 * Copyright (c) 2016 Anze, Inc. All rights reserved.
 */
package com.anze.abd.exception;

import com.anze.base.exception.BaseException;
import com.anze.base.exception.ExceptionType;

/**
 * 
 * @author luruifeng 2016年3月2日
 * @version 2.4
 * @since 2.4 2016年3月2日
 */
public class MyException extends BaseException {

	private static final long serialVersionUID = -2464851433759389617L;

	/**
	 * 
	 * @param type 异常类型
	 */
	public MyException(ExceptionType type) {
		super(type);
	}
	
	/**
	 * 
	 * @param type 异常类型
	 * @param message 异常信息
	 */
	public MyException(ExceptionType type, String message) {
		super(type, message);
	}
	
	/**
	 * 
	 * @param type 异常类型
	 * @param cause the cause (which is saved for later retrieval by the getCause() method). 
	 * (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
	 */
	public MyException(ExceptionType type, Throwable cause) {
		super(type, cause);
	}
	
	/**
	 * 
	 * @param type 异常类型
	 * @param message 异常信息
	 * @param cause the cause (which is saved for later retrieval by the getCause() method). 
	 * (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
	 */
	public MyException(ExceptionType type, String message, Throwable cause) {
		super(type, message, cause);
	}

}
